package main

import (
	"ruoyi-hello/app/sys"
	"ruoyi-hello/config"
)

func main() {
	config.Init() // 初始化配置
	config.InitRedis()
	config.InitMysql()
	r := sys.InitRoutes()
	var port = config.Config.Server.Port
	r.Run(":" + port)
}
